﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Yuekao.Domain.BaseReposi
{
    public interface IBaseRepository<T>
    {
        int Add(T t);
        int Update(T t);
        T GetValue(Expression<Func<T,bool>>exp);
        IQueryable<T> GetAll();
    }
}
